package com.cqemme.comm.po;

import com.cqemme.comm.enums.EnumEmail;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 主要用户Feign 调用客户端异常时发送 消息
 * @author amkj
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClientExceptionEmailModel extends EmailModel {


    private String redisCacheKey;

    private String messageFromProject;

    private String requestUrl;

    private String requestMethod;

    private Map<String,Object> requestHeaders;

    private Map<String, Object> requestParams;

    private CurrentLoginUser currentLoginUser;

    private String requestAddress;

    private Integer responseStatus;

    private String responseMessage;

    private StackTraceElement[] stackTrace;

    /**
     * emailType,
     */
    private String emailType = EnumEmail.Text.getState();


}
